import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import '@/router/permission.js'
import { //通知
  Notify
} from 'vant';
Vue.use(Notify);
import { //复选框
  Checkbox,
  CheckboxGroup
} from 'vant';

Vue.use(Checkbox);
Vue.use(CheckboxGroup);
import {
  Toast
} from 'vant'; //轻提示
Vue.use(Toast);
import vueToTop from "vue-totop"; //返回顶部

Vue.use(vueToTop);
import { //遮罩
  Overlay
} from 'vant';

Vue.use(Overlay);
import { //步进器
  Stepper
} from 'vant';

Vue.use(Stepper);

import { //列表Tab 标签页
  Tab,
  Tabs
} from 'vant';

import { //轮播图
  Swipe,
  SwipeItem
} from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);

import {
  Lazyload
} from 'vant'; //懒加载
Vue.use(Lazyload);

Vue.use(Tab);
Vue.use(Tabs);
import { //布局
  Col,
  Row
} from 'vant';

Vue.use(Col);
Vue.use(Row);
Vue.prototype.$axios = axios
import { //侧边导航栏
  Sidebar,
  SidebarItem
} from 'vant';

Vue.use(Sidebar);
Vue.use(SidebarItem);
import { //搜索框
  Search
} from 'vant';

Vue.use(Search);
import { //图标
  Icon
} from 'vant';
Vue.use(Icon);
import { //输入框
  Field
} from 'vant';
Vue.use(Field);




Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')